package com.example.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author
 * @Description
 */
@ConfigurationProperties(prefix = "baidu")
@Component
@Data
public class BaiduTranslateConfig {
    private String baiduApi;
    private String AppId;
    private String key;
}
